package com.topisv.tms.rest.qimen.qmentity.request.InventoryQuery;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 库存查询接口实体类
 * ERP可以通过奇门接口实时查询wms库存信息
 * @author      chenhongtao
 * @version     [v0.0.6, 2016年5月13日]
 * @see         [相关类/方法]（可选）
 * @since       [产品/模块版本] （必须）
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class Criteria {

	/**
	 * 仓库编码
	 */
	@XmlElement(name="warehouseCode")
	private String warehouseCode;
	
	/**
	 * 货主编码
	 */
	@XmlElement(name="ownerCode")
	private String ownerCode;
	
	/**
	 * 商品编码
	 */
	@NotBlank
	@XmlElement(name="itemCode")
	private String itemCode;
	
	/**
	 * 仓储系统商品ID
	 */
	@NotBlank
	@XmlElement(name="itemId")
	private String itemId;
	
	/**
	 * 库存类型
	 */
	@XmlElement(name="inventoryType")
	private String inventoryType;

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getOwnerCode() {
		return ownerCode;
	}

	public void setOwnerCode(String ownerCode) {
		this.ownerCode = ownerCode;
	}

	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getInventoryType() {
		return inventoryType;
	}

	public void setInventoryType(String inventoryType) {
		this.inventoryType = inventoryType;
	}
	
}
